package com.ruoyi.project.system.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 【请填写功能名称】对象 zz_product
 * 
 * @author ruoyi
 * @date 2020-10-29
 */
public class ZzProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Integer productId;

    /** 类别id */
    @Excel(name = "类别id")
    private Integer productCategoryId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String productDesc;

    /** 商品单位 */
    @Excel(name = "商品单位")
    private String productUnit;

    /** 商品编码 */
    @Excel(name = "商品编码")
    private String productCode;

    /** 单个储位最大量 */
    @Excel(name = "单个储位最大量")
    private Integer productMaxStore;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private Integer productPrice;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String productDr;

    /** 供应商id */
    @Excel(name = "供应商id")
    private Long supplierId;

    /** 商品生产日期 */
    @Excel(name = "商品生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseOrderItemIdDate;

    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setProductCategoryId(Integer productCategoryId) 
    {
        this.productCategoryId = productCategoryId;
    }

    public Integer getProductCategoryId() 
    {
        return productCategoryId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductDesc(String productDesc) 
    {
        this.productDesc = productDesc;
    }

    public String getProductDesc() 
    {
        return productDesc;
    }
    public void setProductUnit(String productUnit) 
    {
        this.productUnit = productUnit;
    }

    public String getProductUnit() 
    {
        return productUnit;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductMaxStore(Integer productMaxStore) 
    {
        this.productMaxStore = productMaxStore;
    }

    public Integer getProductMaxStore() 
    {
        return productMaxStore;
    }
    public void setProductPrice(Integer productPrice) 
    {
        this.productPrice = productPrice;
    }

    public Integer getProductPrice() 
    {
        return productPrice;
    }
    public void setProductDr(String productDr) 
    {
        this.productDr = productDr;
    }

    public String getProductDr() 
    {
        return productDr;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setPurchaseOrderItemIdDate(Date purchaseOrderItemIdDate) 
    {
        this.purchaseOrderItemIdDate = purchaseOrderItemIdDate;
    }

    public Date getPurchaseOrderItemIdDate() 
    {
        return purchaseOrderItemIdDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productCategoryId", getProductCategoryId())
            .append("productName", getProductName())
            .append("productDesc", getProductDesc())
            .append("productUnit", getProductUnit())
            .append("productCode", getProductCode())
            .append("productMaxStore", getProductMaxStore())
            .append("productPrice", getProductPrice())
            .append("productDr", getProductDr())
            .append("supplierId", getSupplierId())
            .append("purchaseOrderItemIdDate", getPurchaseOrderItemIdDate())
            .toString();
    }
}
